package cn.wgx.common.entity.mind;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.io.Serializable;

@Data
@TableName("mind_project")
public class MindProject extends MindBaseEntity implements Serializable {

    /**
     * 项目ID
     */
    @TableId(type = IdType.AUTO)
    private Integer pro_id;

    /**
     * 标题
     */
    @TableField(condition = SqlCondition.LIKE)
    @NotBlank(message = "标题不能为空")
    private String title;

    /**
     * 描述
     */
    @NotBlank(message = "描述不能为空")
    private String content;

    @NotNull(message = "企业ID不能为空")
    private Integer ent_id;

    private Integer offset;

    private String remark;

    private String img;


    public String getImg() {
        return img;
    }

    public Integer getOffset() {
        return offset;
    }

    public void setOffset(Integer offset) {
        this.offset = offset;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Integer getEnt_id() {
        return ent_id;
    }

    public void setEnt_id(Integer ent_id) {
        this.ent_id = ent_id;
    }

    public void setImg(String img) {
        this.img = img;
    }


    public Integer getPro_id() {
        return pro_id;
    }

    public void setPro_id(Integer pro_id) {
        this.pro_id = pro_id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }
}
